<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Jialeo\LaravelSchemaExtend\Schema;

class CreateOpenShopTagsConfig extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
//        Schema::create('open_shop_tags_config', function (Blueprint $table) {
//            $table->id();
//            $table->string('title', 50)->default('')->comment('标签名称');
//            $table->unsignedTinyInteger('type')->default(0)
//                  ->comment('标签类型 0 通用标签 全流程展示 1解约标签 2 筹备标签 3 设备支付标签 4 软装支付标签 5 商学院培训标签');
//            $table->unsignedInteger('createdAt')->default(0)->comment('创建时间');
//            $table->unsignedInteger('createdByUid')->default(0)->comment('创建人');
//            $table->unsignedInteger('updatedAt')->default(0)->comment('修改时间');
//            $table->unsignedInteger('updatedByUid')->default(0)->comment('修改人');
//            $table->unsignedTinyInteger('isDeleted')->default(0)->comment('删除');
//            $table->collation = 'utf8mb4_general_ci';
//            $table->comment   = '标签配置表';
//        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
//        Schema::dropIfExists('open_shop_tags_config');
    }
}
